package com.ssy.lingxi.product.api.model.response.channelCommodity;

import com.ssy.lingxi.product.api.model.response.commodity.CommodityShopResponse;
import com.ssy.lingxi.product.api.model.response.commodity.LogisticsResponse;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 渠道商品详情响应类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/28
 */
@Data
public class ChannelCommodityDetailResponse implements Serializable {
    private static final long serialVersionUID = 6437898867984112761L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 渠道商品
     */
    private ChannelCommodityResponse channelCommodity;

    /**
     * 渠道商品状态: 5-上架, 6-下架, 7-未上架
     */
    private Integer status;

    /**
     * 下级渠道会员id
     */
    private Long memberId;

    /**
     * 下级渠道会员名称
     */
    private String memberName;

    /**
     * 下级渠道会员角色id
     */
    private Long memberRoleId;

    /**
     * 下级渠道会员角色名称
     */
    private String memberRoleName;

    /**
     * 税率
     */
    private Double taxRate;

    /**
     * 是否允许下级渠道会员使用折扣价购买
     */
    private Boolean isMemberPrice;

    /**
     * 渠道商品单价
     */
    private List<ChannelCommodityUnitPriceAndPicResponse> unitPriceAndPicList;

    /**
     * 物流信息
     */
    private LogisticsResponse logistics;

    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 商品发布的商城
     */
    private List<CommodityShopResponse> commodityShopList;
}
